html{
    height: 100%;
}
body{
    height: calc(100% - 8rem);
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
}

.container{
  height: 100%;
  background-color: #ffffff;
}

.top{
    width: 100%;
    position: fixed;
    top:0;
    left: 0;
    display: flex;
    padding: 0.35rem 0;
    align-items: center;
}
.top .search{
    margin:0px 1.4rem;
    flex: 1;
    position: relative;
}
.top .search input{
    width: 100%;
    height: 2.8rem;
    text-indent: 2.8rem;
    border-radius: 28px;
    font-size: 1rem;
    color: rgb(172,172,172);
    background-color: rgb(245,245,245);
}
.top .search span{
    width: 1rem;
    height: 1rem;
    background: url("../img/icon_search.png") no-repeat center center;
    background-size: 120%;
    position: absolute;
    top: 50%;
    left: 0.8rem;
    transform: translateY(-50%);
}
.top .message{
    margin-right:0.5rem ;
}


.category{
    height: 100%;
    display: flex;
  }
  .category .category-left{
    flex:0 0 28%;
    height: 100%;
    overflow-x: hidden;
    /* overflow-y: scroll;
    overflow-x: hidden; */
  }

  .category .category-left .category-list{
    width: 100%; 
    height: 100%;
    padding-right: 1rem;
    overflow-y: scroll;
  }
  .category .category-left .category-list ul{
  }
  .category .category-left .category-list ul li{
      padding: 1.6rem 0;
      
  }
  .category .category-left .category-list ul li a{
    
      padding:0px 0.5rem 0px 1.4rem;
      font-size: 1.2rem;
      color: rgb(51,51,51);
  }

  .category .category-right{
    flex: 1;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .category .category-right .category-intro .intro-item{
      margin-top:0.7rem ;
  }
.category .category-right .category-intro ul{
    display: flex;
}

.category .category-right .category-intro ul li{
    padding-left: 0.45rem;
}
.category .category-right .category-intro ul li:nth-child(1){
    padding-left: 0px;
}

.category .category-right .category-detail .category-title{
    line-height: 5rem;
    text-align: center;
}
.category .category-right .category-detail .category-title h2{
    font-size: 1.1rem;
    font-weight: 400;
}
.category .category-right .category-detail ul{
    width: 100%;
    display: flex;
}
.category .category-right .category-detail ul li{
    padding:1rem 1.6rem;
}
.category .category-right .category-detail ul li img{
   width: 100%;
}
.category .category-right .category-detail ul li .p-name{
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgb(102,102,102);
    text-align: center;
    word-break : break-all ;
    /* word-wrap: break-word; */
}


/* 底部导航 */
.nav-bar{
    width: 100%;
    height: 4.5rem;
    background-color: rgb(249,249,249);
    position: fixed;
    bottom: 0px;
    left: 0;
    z-index: 9999;
}
.nav-bar ul{
    height: 100%;
    display: flex;
}
.nav-bar ul li {
  flex: 1;
  height: 100%;
}
.nav-bar ul li a{
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}

.nav-bar ul li a i{
    display:block;
    width: 2.1rem;
    height: 2.1rem;
    margin: 0.5rem auto 0.35rem auto;
    background: url("../img/navbar1.png") no-repeat center;
    background-size: auto 100%;
}
.nav-bar ul li a b{
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-bar ul li:nth-child(2) a i{
   background-image: url("../img/navbar2.png");
}
.nav-bar ul li:nth-child(3) a i{
   background-image: url("../img/navbar3.png");
}
.nav-bar ul li:nth-child(4) a i{
   background-image: url("../img/navbar4.png");
}
.nav-bar ul li:nth-child(5) a i{
   background-image: url("../img/navbar5.png");
}